package com.raising.modules.code.entity;

import com.raising.framework.entity.BaseEntity;

/**
* 模板
* @author gaoyuan
* @createTime 2018-01-02 20:26:14
*/
public class CodeTemplate extends BaseEntity<CodeTemplate>{

    private static final long serialVersionUID = 1L;

    /** 项目标识 */
    private String projectId;
    /** 目录 */
    private String catalog;
    /** 模板名称 */
    private String name;
    /** 模板内容 */
    private String content;
    /** 序号 */
    private String sort;
    /** 生成次数 */
    private String startNum;
    /** 成功次数 */
    private String successNum;
    /** 失败次数 */
    private String failureNum;

    public CodeTemplate() {
        super();
    }
    public CodeTemplate(String id){
        super(id);
    }

    public String getProjectId(){
        return projectId;
    }

    public void setProjectId(String projectId){
        this.projectId = projectId;
    }

    public String getCatalog(){
        return catalog;
    }

    public void setCatalog(String catalog){
        this.catalog = catalog;
    }

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name = name;
    }

    public String getContent(){
        return content;
    }

    public void setContent(String content){
        this.content = content;
    }

    public String getSort(){
        return sort;
    }

    public void setSort(String sort){
        this.sort = sort;
    }

    public String getStartNum(){
        return startNum;
    }

    public void setStartNum(String startNum){
        this.startNum = startNum;
    }

    public String getSuccessNum(){
        return successNum;
    }

    public void setSuccessNum(String successNum){
        this.successNum = successNum;
    }

    public String getFailureNum(){
        return failureNum;
    }

    public void setFailureNum(String failureNum){
        this.failureNum = failureNum;
    }

    @Override
    public String toString() {
        return "CodeTemplate{" +
            "id='" + id + '\'' + ", " + 
            "projectId='" + projectId + '\'' + ", " + 
            "catalog='" + catalog + '\'' + ", " + 
            "name='" + name + '\'' + ", " + 
            "content='" + content + '\'' + ", " + 
            "sort='" + sort + '\'' + ", " + 
            "createBy='" + createBy + '\'' + ", " + 
            "createDate='" + createDate + '\'' + ", " + 
            "updateBy='" + updateBy + '\'' + ", " + 
            "updateDate='" + updateDate + '\'' + ", " + 
            "status='" + status + '\'' + ", " + 
            "remarks='" + remarks + '\'' + ", " + 
            "startNum='" + startNum + '\'' + ", " + 
            "successNum='" + successNum + '\'' + ", " + 
            "failureNum='" + failureNum + '\'' +
        '}';
    }
}
